<!--
 * @Description: 
 * @Date: 2024-01-25 09:24:15
 * @LastEditTime: 2024-02-26 15:52:38
-->
<!--
 * @Description: 
 * @Date: 2024-01-25 09:24:15
 * @LastEditTime: 2024-01-25 09:28:06
-->
<template>
  <div class="submitSuggest">
    <suggestTable
      :type="type"
      :proId="proId"
      :operation="operation"
      :add="add"
    ></suggestTable>
  </div>
</template>
<script>
import suggestTable from "../components/table.vue";

export default {
  components: {
    suggestTable,
  },
  data() {
    return {
      type: "writeable",
      proId: null,
      operation: null,
      add: false,
    };
  },
  created() {
    this.$route.query?.type && (this.type = this.$route.query.type);
    this.$route.query?.proId && (this.proId = this.$route.query.proId);
    this.$route.query?.add && (this.add = this.$route.query.add);
    this.$route.query?.operation &&
      (this.operation = this.$route.query.operation);
  },
  methods: {},
};
</script>
<style lang="scss" scoped>
.submitSuggest {
  height: 100%;
  overflow: auto;
  background: #fff;
}
</style>
